This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 9, 2013, 1:43 PM
18 Posts

Getting Dojo Combo Box to have drop down

  • Category: Extension Library
  • Platform: All
  • Release: 9.0
  • Role: Developer
  • Tags: Dojo
  • Replies: 0

I am writing an Xpage in which the user can create a new document. On field is a category field. I want this field to be a drop down or type ahead with the possible values to be based upon previous entries. The user should also be able to add a new entry. 

So this is the equivalent to a traditional dialog list field with "formula for choices" and the formula comes form the first categorized field on a view, with the "Allow values not in list" checked. 

I am using a dojo Combo Box, but it displays the values in the field itself, instead of in a drop down. 

Not sure what I am doing wrong:

My code is

 

<xe:djComboBox id="djComboBox2"

style="width:400px">

<xe:this.value><![CDATA[${javascript:var tmpView:String = "tipsByCategory";

var tmpColumn = 1;

var tmpVals = @DbColumn("",tmpView,tmpColumn);

tmpVals}]]></xe:this.value>

 

</xe:djComboBox>


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal